package com.yyj.exception;

import java.util.UUID;

public class BaseException extends RuntimeException {
	private static final long serialVersionUID = 9222231271627225770L;

	String uuid = UUID.randomUUID().toString();

	public String getUuid() {
		return uuid;
	}

	public BaseException() {
	}

	public BaseException(String message) {
		super(message);
	}

	public BaseException(String message, Throwable cause) {
		super(message, cause);
	}

	public BaseException(Throwable cause) {
		super(cause);
	}

	protected BaseException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
		super(message, cause, enableSuppression, writableStackTrace);
	}

}
